package com.darly.book.presenter.contract;

import com.darly.book.model.bean.SortBookBean;
import com.darly.book.model.flag.BookSortListType;
import com.darly.book.ui.base.BaseContract;

import java.util.List;


public interface BookSortListContract {
    interface View extends BaseContract.BaseView {
        void finishRefresh(List<SortBookBean> beans);

        void finishLoad(List<SortBookBean> beans);

        void showLoadError();
    }

    interface Presenter extends BaseContract.BasePresenter<View> {
        void refreshSortBook(String gender, BookSortListType type, String major, String minor, int start, int limit);

        void loadSortBook(String gender, BookSortListType type, String major, String minor, int start, int limit);
    }
}
